Module ActiveRecord::Acts::Voter::InstanceMethods
In: vendor/plugins/acts_as_voteable/lib/acts_as_voteable.rb

Methods

Public Instance methods

[Source]

    # File vendor/plugins/acts_as_voteable/lib/acts_as_voteable.rb, line 11
11:         def vote_down(voteable, options = {})
12:           vote(:down, voteable, options)
13:         end

[Source]

    # File vendor/plugins/acts_as_voteable/lib/acts_as_voteable.rb, line 15
15:         def vote_up(voteable, options = {})
16:           vote(:up, voteable, options)
17:         end

[Source]

    # File vendor/plugins/acts_as_voteable/lib/acts_as_voteable.rb, line 23
23:         def voted_down?(voteable, options = {})
24:           voted?(:down, voteable, options)
25:         end

[Source]

    # File vendor/plugins/acts_as_voteable/lib/acts_as_voteable.rb, line 19
19:         def voted_up?(voteable, options = {})
20:           voted?(:up, voteable, options)
21:         end

[Validate]